<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core">

    <!--
        Atributy:
            label ... volitelný (odpovídá textu v hint bublině)
            action ... akce po kliknutí
            iconName ... /resources/images/icons/icon-#{iconName}.png
            bean ... pokud je bean="true" tak se místo <a /> použije <h:commandLink action="#{action} />"
        -->

    <ui:composition>
        <c:if test="#{empty rendered}">
            <c:set var="rendered" value="true" />
        </c:if>

        <!-- <f:verbatim rendered="#{rendered}"> -->
        <c:if test="#{rendered == true}">
            <li>
                <ui:insert />
            </li>
        </c:if>
        <!-- </f:verbatim> -->
        
    </ui:composition>
</html>
